package com.auto.test;

import com.auto.services.Uservice;
import com.auto.services.UserviceImp;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        Uservice bean = (Uservice)context.getBean("uservice");
        bean.add();
    }
}
